package com.yisu.es.model;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import java.util.List;

@XmlRootElement(name = "esQueries")
public class EsQueries {

    private List<EsQuery> queries;

    // 必须提供无参构造函数
    public EsQueries() {}

    @XmlElement(name = "esQuery")
    public List<EsQuery> getQueries() {
        return queries;
    }

    public void setQueries(List<EsQuery> queries) {
        this.queries = queries;
    }
}
